home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1997 February: Technology Seed / Mac Tech Seed Feb '97.toast / OpenDoc 1.2b2c1 / OpenDoc / Interfaces / IDL / Extensn.idl < prev    next >
Encoding:
Text File  |  1997-02-13  |  1.0 KB  |  55 lines  |  [TEXT/MPS ]

  1. //#    Copyright:    © 1993 - 1995 by Apple Computer, Inc., all rights reserved.
  2.  
  3. #ifndef _EXTENSN_
  4. #define _EXTENSN_
  5.  
  6. #ifndef _REFCTOBJ_
  7. #include "RefCtObj.idl"
  8. #endif
  9.  
  10. //==============================================================================
  11. // Classes defined in this interface
  12. //==============================================================================
  13.  
  14. interface  ODExtension;
  15.  
  16. //==============================================================================
  17. // ODExtension
  18. //==============================================================================
  19.  
  20. interface ODExtension : ODRefCntObject
  21. {
  22.    
  23.    void InitExtension(in ODObject base);
  24.  
  25.    ODObject GetBase();
  26.    
  27.    void BaseRemoved();
  28.    
  29.    ODBoolean IsValid();
  30.    
  31.    void CheckValid();
  32.  
  33. #ifdef __SOMIDL__
  34.     implementation
  35.     {
  36.         majorversion = 1; minorversion = 0;
  37.  
  38.         functionprefix = ODExtension;
  39.     
  40.         override:
  41.             Release;
  42.             
  43.         releaseorder:
  44.             InitExtension,
  45.             GetBase,
  46.             BaseRemoved,
  47.             IsValid,
  48.             CheckValid;
  49.             
  50.     };
  51. #endif
  52. };
  53.  
  54. #endif // _EXTENSN_
  55.